<?php /* Smarty version Smarty-3.1.11, created on 2013-04-04 13:38:14
         compiled from "./smarty/templates/hotel_gallery.tpl" */ ?>
<?php /*%%SmartyHeaderCode:963611860515d8246bebb90-55808295%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '90b432d72b352de11088e2fa4d327af830580e9f' => 
    array (
      0 => './smarty/templates/hotel_gallery.tpl',
      1 => 1363356762,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '963611860515d8246bebb90-55808295',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'hotelId' => 0,
    'imageCount' => 0,
    'hotel' => 0,
    'image' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_515d8246c2c5e1_82085879',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_515d8246c2c5e1_82085879')) {function content_515d8246c2c5e1_82085879($_smarty_tpl) {?><input id="picture_number<?php echo $_smarty_tpl->tpl_vars['hotelId']->value;?>
"type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['imageCount']->value;?>
" />
<div id="galery_panel" >
    <div id="picture_panel">
	<style>
	#picture_frame<?php echo $_smarty_tpl->tpl_vars['hotelId']->value;?>

{
    background:#000;
    min-width:350px;
    min-height:234px;
    max-width: 350px;
    max-height: 234px;
	height:234px;
    transition:1s,height;
}
	#picture_frame<?php echo $_smarty_tpl->tpl_vars['hotelId']->value;?>
 img {
	height:234px;
	position:relative;
	top:0px;
    -webkit-transition: all 1s ;
	-moz-transition: all 1s ;
	-ms-transition: all 1s ;
	-o-transition: all 1s ;
	transition: all 1s ;
}
#picture_frame<?php echo $_smarty_tpl->tpl_vars['hotelId']->value;?>
.load  img{
	min-height:0px;
    height:0px;
    top:110px;    
}
	</style>
        <div id="picture_frame<?php echo $_smarty_tpl->tpl_vars['hotelId']->value;?>
" align="center">
        <?php if ($_smarty_tpl->tpl_vars['imageCount']->value!=0){?>
            <img src="<?php echo $_smarty_tpl->tpl_vars['hotel']->value[0]['url'];?>
" style="display:block; max-width: 350px; max-height: 234px;" id="picture<?php echo $_smarty_tpl->tpl_vars['hotel']->value[0]['id'];?>
" />
        <?php }else{ ?>
            <img src="../../images/missing_photo.png" style="display:block; max-width: 350px; max-height: 234px;" class="picture_not_found" />
        <?php }?>
        </div>
    </div>
    <div id="tumbnails_panel">
        <div id="tumbnails_frame" align="center">
        <?php  $_smarty_tpl->tpl_vars['image'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['image']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['hotel']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['image']->key => $_smarty_tpl->tpl_vars['image']->value){
$_smarty_tpl->tpl_vars['image']->_loop = true;
?>
            <label onclick="show_picture(<?php echo $_smarty_tpl->tpl_vars['image']->value['id'];?>
,this);">
                <img src="<?php echo $_smarty_tpl->tpl_vars['image']->value['thumbnailUrl'];?>
" width="50" height="40" <?php if ($_smarty_tpl->tpl_vars['image']->value['caption']!=''){?>alt="<?php echo $_smarty_tpl->tpl_vars['image']->value['caption'];?>
"<?php }?>/>
            </label>
        <?php } ?>
        </div>
    </div>
</div>
        <div id="disclaimer_content" style="padding:5px;">
            <p>Note: It is the responsibility of the hotel chain and/or the individual property to ensure the accuracy of the photos displayed. We are not responsible for any inaccuracies in the photos.</p>
        </div><?php }} ?>